#include<bits/stdc++.h>
using namespace std;
int main() {
	int yuan, jiao;
	scanf("%d %d", &yuan, &jiao);
	int r1 = yuan*10+jiao;
	int r2 = 19;
	printf("%d",r1/r2);
 	return 0;
}

